package com.gec.component;

public abstract class HttpServletResponse {
	//{1}媒体类型:
	//   文件类型[系统看的]   web类型[浏览器看的]
	//   jpg              image/jpg
	//   htm              text/html
	protected String mime = "text/html";  //设置默认类型
	private ResponseWriter writer = new ResponseWriter();

	//{2}不用太关注..
	public void setContentType(String mime){
		this.mime = mime;
	}
	public ResponseWriter getWriter(){
		return writer;
	}
	//{3}留给子类实现。。
	public abstract void flush();
}
